package com.it.park.model;

import java.io.Serializable;
import java.util.Date;

import com.it.park.rms.client.model.User;

/**
 * @author cb
 *文章
 */
public class Article implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String articleTitle;
	private String articleBriefIntroduction;
	private Integer articleTypeId;
	private Date createDate;
	private Integer userId;
	private Integer clickRate;
	private Integer supportNum;
	private Integer opposeNum;
	private Integer collectNum;
	private Integer status;
	private String articleContent;
	private ArticleType articleType;
	private User user;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getArticleTitle() {
		return articleTitle;
	}
	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle == null ? null : articleTitle.trim();
	}
	public String getArticleBriefIntroduction() {
		return articleBriefIntroduction;
	}
	public void setArticleBriefIntroduction(String articleBriefIntroduction) {
		this.articleBriefIntroduction = articleBriefIntroduction == null ? null
				: articleBriefIntroduction.trim();
	}
	public Integer getArticleTypeId() {
		return articleTypeId;
	}
	public void setArticleTypeId(Integer articleTypeId) {
		this.articleTypeId = articleTypeId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getClickRate() {
		return clickRate;
	}
	public void setClickRate(Integer clickRate) {
		this.clickRate = clickRate;
	}
	public Integer getSupportNum() {
		return supportNum;
	}
	public void setSupportNum(Integer supportNum) {
		this.supportNum = supportNum;
	}
	public Integer getOpposeNum() {
		return opposeNum;
	}
	public void setOpposeNum(Integer opposeNum) {
		this.opposeNum = opposeNum;
	}
	public Integer getCollectNum() {
		return collectNum;
	}
	public void setCollectNum(Integer collectNum) {
		this.collectNum = collectNum;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getArticleContent() {
		return articleContent;
	}
	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent == null ? null : articleContent
				.trim();
	}
	public ArticleType getArticleType() {
		return articleType;
	}
	public void setArticleType(ArticleType articleType) {
		this.articleType = articleType;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

}